home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object,comp.lang.c++
- Path: alexandria.organon.com!alexandria!jsa
- From: jsa@organon.com (Jon S Anthony)
- Subject: Re: The Good, the Bad, the Ugly, and the Wicked ...
- In-Reply-To: milod@netcom.com's message of Fri, 12 Apr 1996 16:03:45 GMT
- Message-ID: <JSA.96Apr16205124@organon.com>
- Sender: news@organon.com (news)
- Organization: Organon Motives, Inc.
- References: <31570B8E.5A12@vmark.com> <4je5rq$7qg@mimas.brunel.ac.uk>
- <4jes0t$gth@decaxp.HARVARD.EDU> <31630E30.5A02@oma.com>
- <4kbq3q$1i8@gaia.ns.utk.edu> <JSA.96Apr9131057@organon.com>
- <RMARTIN.96Apr10133335@rcm.oma.com> <JSA.96Apr11153135@organon.com>
- <milodDprBA9.FyH@netcom.com>
- Date: Wed, 17 Apr 1996 00:51:24 GMT
-
- In article <milodDprBA9.FyH@netcom.com> milod@netcom.com (John DiCamillo) writes:
-
- > >> Robert C. Martin (rmartin@oma.com) wrote:
- > >>
- > >> > : Malloc and new can *always* be made to be deterministic.
- >
- > [Jon and Matt disagree]
- >
- > >> You missed my point. new/delete can *always be made* to be completely
- > >> deterministic. Consider:
- > >>
- > >> [example...]
- >
- > >1. Yes, we (Matt and I) both missed your point (assuming it was the
- > > one you are now claiming) - probably because this is not what you
- > > said.
- >
- > Huh? What Robert wrote was perfectly clear both times. For reasons
- > unknown (time pressure? the desire to argue on the net?) both you
- > and Matt mis-interpreted Robert's post as if it had read 'any old
- > malloc can be *used* in a deterministic manner'
-
- Probably, because that is what he _said_. Here, (since you chop off
- the context) take a look again:
-
- [From R Martin...]
- > : Malloc and new can *always* be made to be deterministic. That is
- > : one of the major attractions to manual memory management in
- > : real time systems. You can use malloc/free (new/delete) pairs which are
- > : 100% predictable.
- >
-
- He seems to say that Malloc and new (the _standard_ manual memory
- management stuff in typical libraries) can be made deterministic by
- always calling new and free in pairs. You can read between the lines
- and say "oh, of course he really didn't mean that", but I didn't. If
- he had been clearer and stated that manual memory management based on
- user defined allocation and deallocation operations can be made
- deterministic, that would have been different. This is exactly what
- he says in the later post.
-
- > instead of 'it is
- > possible to *make* a deterministic malloc'
-
- Great. Of course, it is _now_ clear that this is not what he meant,
- because he points this out in the subsequent article. I guess you're
- just a lot better at psychic-net-connections than I am. Shrug.
-
- /Jon
- --
- Jon Anthony
- Organon Motives, Inc.
- 1 Williston Road, Suite 4
- Belmont, MA 02178
-
- 617.484.3383
- jsa@organon.com
-
-